package org.mlz.game.business

import org.mlz.game.model.View

/**
 *<p>
 * 具备攻击的能力
 *</p>
 * CreateBy  Malingzhao
 * @date  2020/9/21
 */
interface Attackable : View {

    /**
     * 所有者
     */
    val owner:View
    /**
     * 攻击力
     */
    val attackPower: Int

    //判断是否碰撞
    fun isCollission(sufferable: Sufferable): Boolean

    fun notifyAttack(sufferable: Sufferable)
}
